Repository navigation
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This adds a testing runner for the KCL GPU runner available to MONAI. The goal is to develop a GPU testing process, either as a per-PR test or nightly GPU tests.
Some tests for Auto3DSeg are disabled due to issues with the templates it relies on in research-contributions. These need to be fixed and the hash value stored in core needs to be updated. See Project-MONAI/research-contributions#433.
SENet had a number of issues that needed resolving now which were masked for a long time. The URLs for the pre-trained weights in the module were to a dead site so these have been replaced with Huggingface stored files. The failures for these tests were not obvious for a long time because the
skip_if_downloading_failsdecorator was being used so just silently skipped them. A test comparing results of these weights against those loaded from thepretrainedmodelspackage failed with ainfdifference between results, this relies on this package which has never been a dependency and so has never been installed in the CI environments. The package hasn't been updated since 2018 so this test has likely been broken for a long time. It has been removed here as I don't feel this was a useful thing to be testing given the abandoned nature of the package.The NGC environment variables are commented out because the test is failing with "RuntimeError: NGC API response is not ok. Failed to get token.".
Hyena tests are added as well, these may not succeed as the environment is different from what's in the Hyena action (that isn't run currently).
Tests for
nvimgcodecoptional dependency have been updated. There was stated dependencies for pylibjpeg, pylibjpeg-openjpeg, pyjpegls, and python-gdcm on one of the tests, however with the@SkipIfNoModulelines commented out the test still pass. These are left commented out for now.Types of changes
./runtests.sh -f -u --net --coverage../runtests.sh --quick --unittests --disttests.make htmlcommand in thedocs/folder.